
import { LeftCircleTwoTone } from '@ant-design/icons';
import React from 'react';
import { useNavigate } from 'react-router-dom';
import { Button } from 'antd';
function MyAlbum(props) {






    const navigate = useNavigate()


    //发起投票左边的按钮或者取消按钮触发，回退到投票管理页面
    const handleBack = () => {
        navigate(-1)
    }

    return (

        <div className='voteInput'>
            <div className='topNav'>
                <div><LeftCircleTwoTone onClick={handleBack} style={{ fontSize: '20px', cursor: 'pointer' }} /><span>我的相册</span></div>
                <div>
                    <Button type='default' onClick={handleBack} >返回</Button>
                </div>
            </div>
        </div>

    );
}

export default MyAlbum;